package com.company.bookstore.qo.user_admin_module;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(value="地址类",description="请求地址类" )
@Data
public class AddressQo {
    @ApiModelProperty(value = "地址id，只在修改的时候指定",example="1")
    private Integer id;
    @ApiModelProperty(value = "限制长度最大为10",example="中国")
    private String country;
    @ApiModelProperty(value = "限制长度最大为20",example="广东")
    private String province;
    @ApiModelProperty(value = "限制长度最大为20",example="惠州")
    private String city;
    @ApiModelProperty(value = "限制长度最大为20",example="惠州")
    private String town;
    @ApiModelProperty(value = "限制长度最大为255",example="详细地址")
    private String detail;
    @ApiModelProperty(value = "限制长度0-20",example="物理课代表")
    private String username;
    @ApiModelProperty(value = "限制长度为11-12",example="13513513513")
    private String phone;
    @ApiModelProperty(value = "user主键",example="1")
    private Integer fkUserId;
    @ApiModelProperty(value = "删除状态，默认为0，只在修改的时候使用",example="0")
    private Integer deleted;
    @ApiModelProperty(value = "页大小",example="1")
    private Integer pageSize;
    @ApiModelProperty(value = "页数",example="1")
    private Integer pageNum;
    @ApiModelProperty(value = "默认地址标志，默认为false",example="false")
    private Boolean isDefault = false;
}
